home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / comms / other / slrn / slrn_src / slrnpull / quick_install < prev    next >
Text File  |  1999-05-14  |  2KB  |  73 lines

  1. -*- text -*-
  2. This file indicates how to setup slrnpull for pulling groups from a
  3. news server.
  4.  
  5. 0.  Build slrn and slrnpull.  Make sure you enable spool support and
  6.     slrnpull support in slrnfeat.h.
  7.     
  8.         make 
  9.     make slrnpull
  10.     
  11.     Now move slrnpull to somewhere on your path.
  12.     
  13. 1.  Choose a directory that will be used for slrnpull.  In this file,
  14.     I will assume it is /var/spool/slrnpull.
  15.     
  16. 2.  Create the directory:
  17.  
  18.        mkdir /var/spool/slrnpull
  19.        
  20. 3.  Create a file called `slrnpull.conf' in that directory.  Use the
  21.     example provided in the slrn/slrnpull distribution as a template:
  22.     
  23.       cp ./slrnpull.conf /var/spool/slrnpull
  24.       EDIT /var/spool/slrnpull/slrnpull.conf
  25.       
  26.     You must edit this file!!  slrnpull will only retrieve the groups
  27.     that are listed in this file.  It will NOT look at your newsrc file!
  28.     
  29.     If your server requires authorization information, create a file called 
  30.     `authinfo' in the slrnpull directory.  The file should consist of
  31.     two lines: the first line should contain the username and the
  32.     second should contain the password.
  33.   
  34. 4.  Startup your network connection, e.g.,
  35.  
  36.       ppp-up
  37.  
  38. 5.  Run slrnpull.
  39.  
  40.       slrnpull -d /var/spool/slrnpull -h YOUR.NNTP.NEWS.SERVER
  41.    
  42.     Note that slrnpull runs with the umask of the process that created
  43.     it.  If you run it from a shell script, it is a good idea to add
  44.     
  45.        umask 022
  46.        
  47.     before running slrnpull.  That way, the files that it creates will
  48.     have read permissions for all users.
  49.  
  50. 6.  Stop your internet connection, e.g.,
  51.  
  52.       ppp-down
  53.       
  54. 7.  Add the following lines to the end of your .slrnrc file (change
  55.     accordingly):
  56.  
  57.        set spool_inn_root    "/var/spool/slrnpull"
  58.        set spool_root        "/var/spool/slrnpull/news"
  59.        set spool_nov_root    "/var/spool/slrnpull/news"
  60.        set use_slrnpull 1
  61.        set read_active 1
  62.        set server_object     "spool"       
  63.        hostname "YOUR_HOST_NAME"
  64.        username "YOUR_USER_NAME"
  65.        
  66. 8.  Now run slrn to read from this spool:
  67.  
  68.        slrn --spool
  69.        
  70.     (You can compile slrn so that it will read from the spool by
  71.     default without the need to use the --spool command line option.
  72.     See slrnfeat.h.)
  73.